
/*禁止选中文本*/
.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -khtml-user-select: none; /* Konqueror */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

.none-alert {
  width: 100%;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  font-size: 30px;
}

/*浮动*/
.float-right {
  float: right;
}

.float-left {
  float: left;
}

/*清除浮动*/
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/*滚动条自定义样式*/
* {
  scrollbar-color: #9D9E9D #363636;
  scrollbar-width: thin;
}

::-webkit-scrollbar { /*滚动条整体样式*/
  width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 5px;
}

::-webkit-scrollbar-track { /*外层轨道*/
  -webkit-box-shadow: inset 0 0 5px rgba(33,33,33,.45);
  border-radius: 0;
  background-color: rgba(33,33,33,.45);
}

::-webkit-scrollbar-thumb { /*滚动的滑块*/
  border-radius: 0px;
  -webkit-box-shadow: inset 0 0 5px #9e9e9e;
  background-color: #9e9e9e;
}

::-webkit-scrollbar-thumb:hover { /*滚动的滑块 滑入样式*/
  border-radius: 0px;
  -webkit-box-shadow: inset 0 0 5px #757575;
  background: #757575;
}

::-webkit-scrollbar-corner { /*边角*/
  background-color: rgba(33,33,33,.45);
}

/* 宽度高度 */

.w-full {
  width: 100% !important;
}

.h-full {
  height: 100% !important;
}

.w-h-full {
  /*不能加!important，否则会造成Echarts图表组件没法在初始化隐藏时设置容器宽度*/
  width: 100%;
  height: 100%;
}

/* 字体颜色 */
.color-white {
  color: #FFF;
}

.color-red {
  color: #ed4014;
}

.color-green {
  color: #19be6b;
}

/* 外边距 */
.m-t-5px {
  margin-top: 5px;
}

.m-t-10px {
  margin-top: 10px;
}

.m-r-5px {
  margin-right: 5px;
}

.m-r-10px {
  margin-right: 10px;
}

.m-b-5px {
  margin-bottom: 5px;
}

.m-b-10px {
  margin-bottom: 10px;
}

.m-l-5px {
  margin-left: 5px;
}

.m-l-10px {
  margin-left: 10px;
}

/* 动画相关样式 */


/* 拖拽放置相关样式 */
.layout-item-drop-active {
  background-color: rgba(0,0,0,0.5) !important;
}
.layout-item-drop-active * {
  color: #fff !important;
}
.layout-item-drop-hover {
  background-color: rgba(255,51,51,0.5) !important;
}
.layout-item-drop-hover * {
  color: #fff !important;
}

/* 其他 */

.shade {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: .1;
  z-index: 2;
}

/* 组件配置界面样式 */
.func-comp-form .ivu-form-item {
  margin-bottom: 0px;
}
.func-comp-form .ivu-tabs-tabpane {
  padding-top: 10px;
}

/* 动画延时 */
.delay-0d5s {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
.delay-1d5s {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}
.delay-2d5s {
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
}
.delay-3d5s {
  -webkit-animation-delay: 3.5s;
  animation-delay: 3.5s;
}
.delay-4d5s {
  -webkit-animation-delay: 4.5s;
  animation-delay: 4.5s;
}

/* 覆盖iview的一些样式 */
/*.ivu-tag {
  cursor: auto !important;
}*/
.dropdown-menu-no-overflow {
  max-height: none !important;
}
.ivu-message {
  z-index: 10000 !important;
}
.ivu-tooltip-popper {
  z-index: 10000 !important;
}
@keyframes pn-spin-ani {
  from { transform: rotate(0deg);}
  50%  { transform: rotate(180deg);}
  to   { transform: rotate(360deg);}
}
.pn-spin-icon-load {
  animation: pn-spin-ani 1s linear infinite;
}

.ghost {
  content: '';
  /*font-size: 0;*/
  height: 2px;
  box-sizing: border-box;
  /*background: #409EFF;*/
  border: 2px solid #409EFF;
  outline-width: 0;
  padding: 0;
  overflow: hidden;
}

.along-comp-edit-model-mask-layer {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: rgba(66,66,66,0.9);
  text-align: center;
  z-index: 9999;
}

